/*
 * CommandeFiger.cpp
 *
 *  Created on: 21 dec. 2012
 *      Author: guegan
 */


#include "CommandeFiger.h"

CommandeFiger* CommandeFiger::instance = NULL;

CommandeFiger* CommandeFiger::getInstance() {
	if (instance == NULL)
		instance = new CommandeFiger();
	
	return instance;
}

Commande* CommandeFiger::constructeurVirtuel() {
	Commande* com = new CommandeFiger();
	
	return com;
}

void CommandeFiger::execute() {
	bot->figer();
}

void CommandeFiger::desexecute() {
	bot->repartir();
}

bool CommandeFiger::reversible() {
	return true;
}

